package com.itheima.stock.mapper;

import com.itheima.stock.entity.StockBlockRtInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author zby
 * @description 针对表【stock_block_rt_info(股票板块详情信息表)】的数据库操作Mapper
 * @created 2024-06-17 20:58:15
 * 对应实体类 {@link StockBlockRtInfo}
 */
@Mapper
public interface StockBlockRtInfoMapper {

    /**
     * 查询板块指数信息
     *
     * @param begin 当前最近交易日期 开始时间 9：30
     * @param end   15：00
     * @return List<StockBlockRtInfo>
     */
    List<StockBlockRtInfo> selectByDateTimeDesc(@Param("begin") LocalDateTime begin,
                                                @Param("end") LocalDateTime end);
}




